/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.usc.cs576.mediaoctopus.config;

import edu.usc.cs576.lib.MediaObject;

/**
 *
 * @author haoxu
 */
public class Settings {

    /**
     * for componet enable or disable
     */
    public static boolean IS_VIDEO_IMPORTED = false;
    public static boolean IS_AUDIO_IMPORTED = false;
    public static boolean IS_IMAGE_IMPORTED = false;
    /**
     * audio type
     */
    public static int AUDIO_TYPE_WAV = 1;
    public static int AUDIO_TYPE_MP3 = 2;
    /**
     * for default size
     */
    public static int VIDEO_DEFAULT_WIDTH = 352;
    public static int VIDEO_DEFAULT_HEIGHT = 288;
    public static int IMAGE_DEFAULT_WIDTH = 64;
    public static int IMAGE_DEFAULT_HEIGHT = 64;
    public static int CANVAS_WIDTH = 528;
    public static int CANVAS_HEIGHT = 432;
    /**
     * for video control
     */
    public static boolean IS_PLAYING = false;
    public static boolean IS_PAUSED = false;
    public static boolean IS_STOPPED = false;
    /**
     * for video play
     */
    public static int FPS = 30;
    public static int FRAME_NUM = 0;
    public static int TOTAL_FRAME_NUM = 0;
    public static int FRAME_RESIZE_WIDTH = 352;
    public static int FRAME_RESIZE_HEIGHT = 288;
    /**
     * for GUI configuration
     */
    public static final int RESIZE_THRESHOLD = 5;
    public static final int RESIZE_N = 1;
    public static final int RESIZE_S = 2;
    public static final int RESIZE_W = 3;
    public static final int RESIZE_E = 4;
    public static final int RESIZE_NE = 5;
    public static final int RESIZE_NW = 6;
    public static final int RESIZE_SE = 7;
    public static final int RESIZE_SW = 8;
    /**
     * for action
     */
    public static final int PLAY_VIDEO_ACTION = 1;
    public static final int PAUSE_VIDEO_ACTION = 2;
    public static final int STOP_VIDEO_ACTION = 3;
    public static final int PLAY_AUDIO_ACTION = 4;
    public static final int PAUSE_AUDIO_ACTION = 5;
    public static final int STOP_AUDIO_ACTION = 6;
    public static final int LINK_ACTION = 7;
    public static final int DISPLAY_ACTION = 8;
    /**
     * for single action parameters
     */
    public static boolean actionFinished = false;
    public static int actionNumber;
    public static MediaObject source;
    public static MediaObject target;
    public static String param;
    public static String param2;
    public static int selectedIndex;
}
